package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/8/12.
 */

public interface CountTimesRequest {
    @FormUrlEncoded
    @POST("count_app_opentimes")
    Observable<BaseModel<Object>> getResult(@Header("User-Agent") String info,
                                            @Query("token") String token,
                                            @Field("latitude") String latitude,
                                            @Field("longitude") String longtitude,
                                            @Field("appName") String appName,
                                            @Field("appVersion") String appVersion,
                                            @Field("sysVersion") String sysVersion);
}
